package com.gzh.system.service;


import com.gzh.core.dao.po.UserEntity;
import com.gzh.system.dao.po.QueryRemindUserEntity;
import com.gzh.system.service.dto.RemindInfo;

import javax.mail.Session;
import javax.mail.Transport;
import java.util.List;

public interface MailService {

  /**
   * qq/163邮箱 直接发送
   * @param mailTo
   * @return
   */
  boolean sendMail(String mailTo);

  void sendXXLMail(List<QueryRemindUserEntity> list);

  Session getSession();

  Transport getTransport(Transport ts);

  void remindMail(RemindInfo info);

  void checkMail(List<UserEntity> userEntityList,Integer checkId);
}
